import antfu from '@antfu/eslint-config'
import satEslintConfig from './eslint-config/index.js'

export default antfu(
  {
    unocss: true,
    formatters: true,
    // `.eslintignore` is no longer supported in Flat config, use `ignores` instead
    ignores: [
      '**/dist/',
      '**/dist*/',
      '**/generated/',
      '**/public/',
      'pnpm-lock.yaml',
    ],
  },
  ...satEslintConfig,
)
